package main

import "github.com/gin-gonic/gin"

func main() {
	r := gin.Default()
	//访问http://localhost:8080/assets/1.txt
	r.Static("/assets", "./cp8/assets")
	r.StaticFile("/favicon.ico", "./cp8/assets/favicon.ico")

	r.Run(":8080")
}
